/** 自定义 Element Plus 样式 */

// 卡片
.el-card {
  background-color: var(--el-bg-color);
}

// 分页
.el-pagination {
  // 参考 Bootstrap 的响应式设计 WIDTH = 768
  @media screen and (max-width: 768px) {
    .el-pagination__sizes,
    .el-pagination__jump{
      display: none !important;
    }
  }
}

.el-popper{
  max-width: 100vw;
  box-sizing: border-box;
}

// 时间选择器移动端 适配begin
@media screen and (max-width: 768px) {
  .el-date-range-picker .el-picker-panel__body {
    min-width: 100%;
  }

  .el-date-range-picker__content {
    width: 100% !important;
  }

  .el-date-range-picker {
    width: 80% !important;
  }

  .el-date-range-picker__content {
    margin: 0px;
    padding: 5px;
  }

  .el-date-range-picker__content.is-left {
    padding-bottom: 0px;
  }

  .el-date-range-picker__content.is-right {
    padding-top: 0px;
  }

  .el-date-table th {
    padding: 0px;
  }

  .el-date-table td {
    padding: 0px;
  }

  .el-picker-panel__sidebar {
    width: 100%;
  }
  .el-picker-panel {
    width: 100%!important;
  }
  .el-picker-panel__content {
    width: 100%;
  }
  .el-picker-panel__body{
    margin-left: 0!important;
    display: flex;
    flex-direction: column;
    min-width: auto!important;
  }
  .el-picker-panel__sidebar {
    position: relative;
  }
  .el-picker-panel__body-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
}
// 时间选择器移动端 适配end
